package com.hiultra.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 类型编号对象 arc_account_type
 * 
 * @author ruoyi
 * @date 2024-07-16
 */
public class ArcAccountType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型编号 */
    private Long typeCode;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 上级编号 */
    @Excel(name = "上级编号")
    private Long parentCode;

    /** 类型状态 */
    @Excel(name = "类型状态")
    private Integer status;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Integer delflag;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public void setTypeCode(Long typeCode) 
    {
        this.typeCode = typeCode;
    }

    public Long getTypeCode() 
    {
        return typeCode;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setParentCode(Long parentCode) 
    {
        this.parentCode = parentCode;
    }

    public Long getParentCode() 
    {
        return parentCode;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDelflag(Integer delflag) 
    {
        this.delflag = delflag;
    }

    public Integer getDelflag() 
    {
        return delflag;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeCode", getTypeCode())
            .append("typeName", getTypeName())
            .append("parentCode", getParentCode())
            .append("status", getStatus())
            .append("delflag", getDelflag())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .toString();
    }
}
